package com.li.mapper;



import com.li.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TeacherMapper {
    Teacher queryTeacherByTno(Teacher teacher);
    Teacher queryTeacher(Teacher teacher);
    void insertTeacher(Teacher teacher);
    void updateTeacher(Teacher teacher);
    void deleteTeacher(Teacher teacher);
    List<Teacher> listTeacher();
}
